<!--标题栏-->
<div class="fly-panel-title fly-filter">
    <a href="{:url('Warehouse/Console/category')}" {if condition="$Request.action == 'category'"}class="layui-this"{/if}>分类</a><span class="fly-mid"></span>
    <a href="{:url('Warehouse/Console/brand')}" {if condition="$Request.action == 'brand'"}class="layui-this"{/if}>品牌</a><span class="fly-mid"></span>
    <a href="{:url('Warehouse/Console/supplier')}" {if condition="$Request.action == 'supplier'"}class="layui-this"{/if}>供应商</a>
    <a href="#" class="btn_print">标签打印</a>
</div>
<script>
//绑定按钮
$(function(){
    $('.btn_print').on('click',function(){
      layer.open({
        type: 2 //此处以iframe举例
        ,title: '编辑打印数据'
        ,area: ['500px', '500px']
        ,shade: 0
        ,maxmin: true
        ,content: '/Warehouse/Label/edit/pn/0.html'
      });
    })
})
</script>